/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import java.util.Random;
/*    */ 
/*    */ public class ub
/*    */   extends va {
/*    */   public Random g;
/*    */   
/*    */   public ub(b[] arrayOfB, String str) throws Exception {
/* 10 */     super(arrayOfB, str);
/* 11 */     this.g = new Random();
/*    */   }
/*    */ 
/*    */   
/*    */   public double v() {
/* 16 */     double d = 0.0D;
/* 17 */     if (this.q.length >= 3) {
/* 18 */       this.g.setSeed((long)v(2));
/* 19 */       d = this.g.nextDouble();
/*    */     } else {
/*    */       
/* 22 */       d = Math.random();
/*    */     } 
/* 24 */     if (this.q.length >= 2) {
/* 25 */       double d1 = v(0);
/* 26 */       double d2 = v(1);
/* 27 */       double d3 = Math.min(d1, d2);
/* 28 */       double d4 = Math.max(d1, d2);
/* 29 */       d = d * (d4 - d3) + d3;
/*    */     }
/* 31 */     else if (this.q.length >= 1) {
/* 32 */       d *= v(0);
/*    */     } 
/* 34 */     return d;
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncor\\ub.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */